package
{
	import flash.display.Sprite;
	import flash.display.StageAlign;
	import flash.display.StageScaleMode;
	import flash.events.Event;
	import flash.utils.setTimeout;
	
	import starling.core.Starling;

	[SWF(backgroundColor=0x333333,frameRate=60)]
	public class DDP_Mobile extends Sprite
	{
		private var myStarling:Starling;
		
		public function DDP_Mobile()
		{
			super();
			
			//addChild(new Stats);
			this.addEventListener(Event.ADDED_TO_STAGE,onAdded);
		}
		
		private function onAdded(event:Event):void
		{
			setTimeout(function():void
			{
				myStarling = new Starling(Game,stage);
				myStarling.start();
				myStarling.showStats = true;
			},1000)
		}
	}
}